<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script>
			function Humans() {
				this.clothing = [
					"trousers",
					"dress",
					"jacket"
				];
			}

			function Man() {
				Humans.call(this); //继承了Humans；
			}

//			Man.prototype = new Humans();
			var man1 = new Man();
			man1.clothing.push("cost");
			alert(man1.clothing);
			var man2 = new Man();
			alert(man2.clothing);
		</script>
	</body>

</html>